﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using ERP.View;

using System.Data;
using System.Drawing;

namespace ERP.Classes
{
    class csButton : DevExpress.XtraEditors.SimpleButton
    {
        //private int x;
        //private int y;
        public cs_erp_banInfo ban = new cs_erp_banInfo();

        public csButton()
        {
            //this.x = 0;
            //this.y = 0;
            this.ban = new cs_erp_banInfo();
            //this.Click += new System.EventHandler(this.myButtonClick);
            this.Image = global::ERP.Properties.Resources.SyncCenter_dll_I03ee_0409_20x20;
        }

        public void ButtonInit()
        {
            this.ban.Get_Info();
            this.Text = this.ban.tenban;
            this.Image = global::ERP.Properties.Resources.SyncCenter_dll_I03ee_0409_20x20;
        }
        public void myButtonClick(object sender, EventArgs e)
        {
            
            
        }

        
    }
}
